package com.golden.procedure.client;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.golden.procedure.domain.WorkOrderDO;
import com.golden.procedure.domain.WorkOrderPickDO;

@RestController
@RequestMapping("/api")
public interface IWorkOrderClientService {

	@PostMapping("/workOrder")
	public ResultDO create(@RequestBody WorkOrderDO domain);
	
	@PostMapping("/pickOrder")
	public ResultDO updatePickOrder(@RequestBody WorkOrderPickDO domain);

	@PostMapping("/workPhoto")
	public boolean addPhoto(@RequestBody String params);

}
